
import request from '@/api/request.js'
function productDetail(id){
	return request({
		url:`/lejuClient/product/productDetail/${id}`,
		method:'get'
	})
}
function addCart(data){
	return request({
		url:`/lejuClient/cart/addCart`,
		method:'post',
		data
	})
}
function addPreOrder(data){
	return request({
		url:`/lejuClient/order/addPreOrder`,
		method:'post',
		data
	})
}

export {
	productDetail,
	addCart,
	addPreOrder
}